package com.peas.platform.module.icims.expenditure.setting.dto;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 收支系统配置
@Data
@EqualsAndHashCode(callSuper = false)
public class ExpenditureSettingsDto extends BaseDto {

    // 配置类型
    // 枚举取值:ExpenditureSettingsType
    @Comment(value = "配置类型", enumType = "ExpenditureSettingsType")
    @Condition(operator = ConditionOperator.IN)
    private String settingsType;

    // 配置说明
    @Comment(value = "配置说明")
    private String settingsDesc;

    // 配置值
    // 1启用，0不启用
    // 枚举取值:CommonYesNo
    @Comment(value = "配置值", enumType = "CommonYesNo")
    @Condition(operator = ConditionOperator.IN)
    private String settingsValue;

    // 排序权重
    @Comment(value = "排序权重")
    private Integer weight;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
}
